package com.cjh.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cjh.common.entity.Role;

import java.util.Set;

/**
 * @Entity com.cjh.common..Role
 */
public interface RoleMapper extends BaseMapper<Role> {

    Set<String> selectAllRolesByUsername(String username);

    Set<Integer> getRoleByRoleId(Integer id);
}




